package calculate;

/**
 * This class implements the unary operation square root.
 * 
 * @author Jacky Xu
 *
 */
public class Square_root implements UnaryOperator {
	@Override
	public double calculate(double a) {
		return Math.sqrt(a);
	}
}
